//
//  ZWalletAccount.h
//  NewProject
//
//  Created by Apple on 2018/5/19.
//  Copyright © 2018年 chenIos. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface ZWalletAccountInfo : NSObject<NSCoding>
@property (nonatomic,strong) NSString *name;
@property (nonatomic,strong) NSString *password;
@property (nonatomic,strong) NSString *walletAdress;
@property(nonatomic,strong)  NSString *privateKey;
@property (nonatomic,strong) NSString *pais;// 币的数量
@property (nonatomic,assign) long long paisNum;//用于计算时
@property (nonatomic,assign) BOOL isSelected;
@end
@interface ZWalletAccount : NSObject<NSCoding>
//@property (nonatomic,strong) NSMutableArray<ZWalletAccountInfo *> *allWallets;
//@property (nonatomic,strong) ZWalletAccountInfo *selectedWallet;
@property (nonatomic,strong) NSArray *currencyUnit;
@property (nonatomic,strong) NSString *currentCurrrencyUnit;

//+ (void)timer;
+ (ZWalletAccount *)wallet;
//+ (void)qureyAccoutInfo;
//- (void)writeToFile;
@end
